
<div class="wide form">
<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>
<form class="form" method="post" action="">  <!--form begin -->
			<div class="left_1 1_px"></div>
			<div class="left_2 1_px"></div>
			<div class="left_3 1_px"></div>
					<div class="form1">
						<lable for="position"><span><?php echo $form->label($model_job,'vocation'); ?></span></lable>
						<?php echo $form->textField($model_job,'vocation',array('size'=>16,'maxlength'=>16)); ?>
						<div>
							<select id="select" onchange=hide(this.options[this.options.selectedIndex].value,2);>
								<option value="wugong" name="wugong" selected >务工</option>
								<option value="nongji" name="nongji">农机</option>
							</select>
						</div>
						<input type="submit" value="" id="submit" />
					</div>		
				<div class="left_3"></div>
				<div class="left_2"></div>
				<div class="left_1"></div>	
				<p class="logo_words"><span>农民朋友最好的搜索渠道！</span></p>
				<div id="advanced_search" class="inf_advanced_search">
					<strong onclick=hid(1);>高级搜索</strong>
				</div>
			
				<div id="hide" class="inf_hide_search">       <!--advanced search div -->
					<div class="left_1 short_1"></div>
					<div class="left_2 short_2"></div>
					<div class="left_3 short_3"></div>
					<strong id="hide_search" onclick=hid(2);>隐藏高级搜索</strong>
					<div class="left_1 long_1"></div>
					<div class="left_2 long_2"></div>
					<div class="left_3 long_3"></div>
				
					<div class="form2">
					<li><lable for="company_name"><span><?php echo $form->label($model_job,'work_address'); ?>:</span></lable>
									<SCRIPT>
									var s=["s1","s2"]; 
									var opt0 = ["请选择","请选择"]; 
									function setup() 
									{ 
									for(i=0;i<s.length-1;i++) 
									document.getElementById(s[i]).onchange=new Function("change("+(i+1)+")"); 
									change(0); 
									} 
									</SCRIPT>
									<select name="province" id="s1" style="width:92px;">
									<option></option></select> 
									<select name="city" id="s2" style="width:92px;">
									<option></option></select>
									<SCRIPT language="javascript"> 
									setup() 
									</SCRIPT> 
									</li>
						<li><lable for="company_name"><span><?php echo $form->label($model_job,'company'); ?>:</span></lable>
						<?php echo $form->textField($model_job,'company',array('size'=>50,'maxlength'=>50)); ?></li>
						
						
						<li><lable for="industry"><span><?php echo $form->label($model_job,'industry'); ?>:</span></lable>
						<?php echo $form->textField($model_job,'industry',array('size'=>50,'maxlength'=>50)); ?></li>
			
						<li>
							<lable for="salary">
							<span><?php echo $form->label($model_job,'compensation'); ?>:</span></lable>
							<?php echo $form->dropDownList($model_job,'compensation',
							array(
							''=>'...',
							'0~1'=>'面议',
							'1~1000'=>'1000以下',
							'1000~2000'=>'1000~2000',
							'2000~4000'=>'2000~4000',
							'4000~8000'=>'4000~8000',
							'8000'=>'8000以上',
							));?>
						</li>
					</div>
				</div>
			</form>            <!--end form -->
</div><!-- search-form -->
<?php $this->endWidget(); ?>